package org.example.service;

import org.example.entity.Movie;

import java.io.IOException;
import java.util.HashMap;
import java.util.Map;

/**
 * @author TonySong
 * @date 2025/7/28 0028
 * @time 17:03
 */
public interface ICinemaService {

      Map<String, Movie> MOVIE_MAP=new HashMap<>();

    /**
     * 读取xml文件到map集合中
     * @throws IOException
     */
    void readXmlToMap() throws IOException;

    /**
     * 浏览所有电影
     */
    void showMovies() throws IOException;

    Movie getMovieByName(String name,String playTime);



}
